from django.conf.urls import url
from . import views

urlpatterns = [
    # 详情页
    url(r'goods/detail/(?P<pk>\d+)',views.GoodsDetailView.as_view()),
    # 列表页
    url(r'goods/list/(?P<type_id>\d+)/(?P<num_page>\d+)',views.GoodsListView.as_view()),
    url(r'',views.IndexView.as_view()),


]
